/*
 * @Author: wurangkun wurangkun@qq.com
 * @Date: 2023-04-04 15:23:40
 * @LastEditors: wurangkun wurangkun@qq.com
 * @LastEditTime: 2023-06-19 11:13:56
 * @FilePath: \myblog_server\src\routes\file.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import FileController from '../controller/file';
export default [
  {
    path: '/file/list',
    method: 'get',
    action: FileController.list
  },
  {
    path: '/file/upload',
    method: 'post',
    action: FileController.upload
  },
  {
    path: '/file/download',
    method: 'get',
    action: FileController.download
  },
  {
    path: '/file/delete',
    method: 'get',
    action: FileController.delete
  },
]